import { createApp } from "vue";
import { createPinia } from "pinia";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate';
import App from "./App.vue";
import router from "./router";
// 引入组件样式
import "vant/lib/index.css";
// import "./style/main.scss";
import 'uno.css'

import 'vue3-carousel/dist/carousel.css';



// 创建并配置pinia
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate); // 添加持久化插件

const app = createApp(App);
app.use(pinia);
app.use(router);

app.mount("#app");
